package com.wind.service;

import com.wind.mapper.DeptMapper;
import com.wind.pojo.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptService {

    @Autowired
    private DeptMapper deptMapper;
    public List<Dept> getAllDept() {
        return deptMapper.getAllDept();
    };
}
